import {request} from "@/utils/request";


/**
 * 获取用户信息
 */
export function getBlogUserInfo(userId){
    const query = {
        userId: userId,
    }
    return request({
        url: '/blog/web/user/select/info',
        method:'get',
        headers: {
            isToken: false
        },
        params:query
    })
}

/**
 * 获取我的点赞文章
 */
export function getMyLikeArticle(){
    return request({
        url: '/blog/web/user/my/like',
        method:'get',
    })
}

/**
 * 获取我的收藏文章
 */

export function getMyStartArticle(){
    return request({
        url: '/blog/web/user/my/collect',
        method:'get',
    })
}

/**
 * 获取我的文章
 */
export function getMyEndArticle(){
    return request({
        url: '/blog/web/user/my/article',
        method:'get',
    })
}

/**
 * 签到
 */
export function doSign(){
    return request({
        url: '/blog/web/user/sign',
        method:'get',
    })
}

